package com.dht.xiao.jianye.base.mqtt.callback;

import org.eclipse.paho.client.mqttv3.IMqttToken;

/**
 * @author :      fangbingran
 * @aescription : todo(这里用一句话描述这个类的作用)
 * @date :        2019/06/13  21:45
 */
public interface BaseMqttCallBack {
    void messageArrived(String topic, String message, int messageId);

    void onSuccess(IMqttToken asyncActionToken);

    void onFailure(Throwable cause);
}
